From: Keir Fraser Date: Thu, 24 Jul 2008 13:33:28 +0000 (+0100) Subject: tools: use $(PREFIX) rather than hard-coding /usr X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14165^2~126 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=499da5e253e881a4b1614d44b5347d1dd6afe195;p=xen.git tools: use $(PREFIX) rather than hard-coding /usr Signed-off-by: Jan Beulich --- diff --git a/tools/Makefile b/tools/Makefile index 8920ae9a9b..6789ec4003 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -60,8 +60,8 @@ IOEMU_CONFIGURE_CROSS ?= --cross-prefix=$(CROSS_COMPILE) \ endif ioemu/config-host.mak: - cd ioemu && XEN_TARGET_ARCH=$(XEN_TARGET_ARCH) sh configure --prefix=/usr \ - $(IOEMU_CONFIGURE_CROSS) + cd ioemu && XEN_TARGET_ARCH=$(XEN_TARGET_ARCH) sh configure \ + --prefix=$(PREFIX) $(IOEMU_CONFIGURE_CROSS) subdir-all-ioemu subdir-install-ioemu: ioemu/config-host.mak diff --git a/tools/libaio/src/Makefile b/tools/libaio/src/Makefile index f926670e67..da981b7178 100644 --- a/tools/libaio/src/Makefile +++ b/tools/libaio/src/Makefile @@ -1,7 +1,7 @@ XEN_ROOT = ../../.. include $(XEN_ROOT)/tools/Rules.mk -prefix=/usr +prefix=$(PREFIX) includedir=$(prefix)/include libdir=$(prefix)/lib diff --git a/tools/xenstat/libxenstat/Makefile b/tools/xenstat/libxenstat/Makefile index f60ec7872e..1177b55ac0 100644 --- a/tools/xenstat/libxenstat/Makefile +++ b/tools/xenstat/libxenstat/Makefile @@ -15,7 +15,7 @@ XEN_ROOT=../../.. include $(XEN_ROOT)/tools/Rules.mk -prefix=/usr +prefix=$(PREFIX) includedir=$(prefix)/include libdir=$(prefix)/lib